#include "Tool.h"
#include "Arm.h"


Tool::Tool(void)
{
	isActive = false;
}


Tool::~Tool(void)
{
}


void Tool::Update(float deltaTime)
{

}
void Tool::Render(void) const
{

}

void Tool::ActivateTool(Arm* arm)
{
	isActive = true;
	this->arm = arm;
}

void Tool::DeactivateTool(void)
{
	isActive = false;
}

void Tool::SetHeading(tVector2D heading)
{
	this->currentHeading = heading;
}

tVector2D Tool::GetHeading(void) const
{
	return currentHeading;
}

void Tool::SetIsActive(bool active)
{	 
	 isActive = active;
}	 
bool Tool::GetActive() const
{
	return isActive;
}